var x = true;

$("html").click(function() {
    if (x) {
        var title = document.title,
            linkname = ["首页", "博客"],
            link = ["https://storage.cjlearn.top/", "https://bloog.cjlearn.top:4215/"],
            
            code = "";

        code += '<h3>' + title + '</h3>';
        code += '<div><img src="https://gitee.com/cheng_jie001/hello-world/raw/main/alistSkin_2.2/img/81100w-zzAb2BfDpoc1-removebg-preview.png" alt = "Jina" /></div>';
        code += '<p>用代码表达言语的魅力，用代码书写山河的壮丽</p>';
        code += '<ul>';
        for (vo in linkname) {
            code += '<li> <a href= "' + link[vo] + '" > ' + linkname[vo] + ' </a></li>';
        }
        code += '</ul>';


        $(".header").append(code);
    }
})


$(document).on('click', '.buttons>span:eq(1) svg', function() {
    var $viwe = $(this).attr('viewBox');
    alert($viwe);
})

window.onload = function() {
    setTimeout(function() {
        $("html").click();
        x = false;
    }, 100);
}
